<extend name="Public/base"/>
<block name="body">



<form class="J_ajaxForm" action="{:U('listorders')}" method="post">
    <div class="table_list">
       <table class="table table-striped table-bordered table-hover table-responsive" >
        <thead>
          <tr>
            <th>金额</th>
            <th>奖励</th>
            <th>礼品</th>
            <th>单次奖励数量</th>
            <th>赠送次数</th>
            <th>奖金比例</th>
              <th>默认值</th>
           <th>管理操作</th>
          </tr>
        </thead>
       <tbody>
       <volist name="list" id="vo">
       <tr>
           <td>{$vo.price}</td>
           <td>{$vo.title}</td>
           <td>{$vo.product_name}</td>
           <td>{$vo.num}</td>
           <td>{$vo.cishu}</td>
           <td>{$vo.bili}</td>
           <td><if condition="$vo['default'] eq 1"> <a href="{:U('changedefault',array('id'=>$vo['id']))}" class="ajax-get"> <i class="icon-check-circle"></i></a>
               <else/>
               <a href="{:U('changedefault',array('id'=>$vo['id']))}"  class="ajax-get"><i class="icon-times-circle"></i></a> </if></td>
           <td>
       <a data-toggle="tooltip" title="" class="btn btn-xs btn-info tooltip-info" href="{:U('edit',array('id'=>$vo['id']))}" data-original-title="修改"><i class="icon-edit bigger-120"></i></a>
        <if condition="UID eq '1'">
       <a data-toggle="tooltip" title="" class="ajax-del btn btn-xs btn-danger	tooltip-danger" href="{:U('delete',array('id'=>$vo['id']))}" data-original-title="删除"><i class="icon-trash bigger-120"></i></a></if>
       
       </td>
       
       
       </tr>
       
       </volist>
       </tbody>
       
      </table>
    </div>
      <div class="pagination">{$Page}</div>

  </form>


</block>


<block name="script">

        </block>